﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MenuManage.aspx.cs" Inherits="Portal.MenuManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>菜单管理</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="row-fluid" style="margin: 6% 1% 10%">
            <div class="divUpdate">
            </div>
            <div class="divAdd">
                <table>
                    <tr> 
                        <td>
                            选择菜单项
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlMenu" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlMenu_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                        <td>
                            输入菜单(中文)名称：
                        </td>
                        <td>
                            <asp:TextBox ID="txtMenuName" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            选择父菜单项
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlParent" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            菜单OrderID：
                        </td>
                        <td>
                            <asp:TextBox ID="txtOrderID" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            输入菜单页面路径：
                        </td>
                        <td>
                            <asp:TextBox ID="txtPath" runat="server" Width="230%"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="display:none;">
                        <td>
                            菜单ID：
                        </td>
                        <td>
                            <asp:Label ID="lblId" runat="server" Text=""></asp:Label>
                        </td>
                        <td>
                            输入菜单(英文)名称：
                        </td>
                        <td>
                            <asp:TextBox ID="txtMenuEngin" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="DivMian" style="text-align: center; margin-top: 2%">
                <asp:Button ID="btnAdd" CssClass="btn" runat="server" Text="添加菜单" OnClick="btnAdd_Click" />
                <asp:Button ID="btnDelete" CssClass="btn" runat="server" Text="删除菜单" OnClick="btnDelete_Click" />
                <asp:Button ID="btnUpdate" CssClass="btn" runat="server" Text="更新菜单" OnClick="btnUpdate_Click" />
            </div>
        </div>
    </div>
    </form>
</body>
</html>
